/**
 * Copyright &copy; 2012-2016 <a href="https://github.com.chuangyuan.base">JeeSite</a> All rights reserved.
 */
package com.xyp.cityipgen.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.collect.Lists;
import com.xyp.cityipgen.common.excel.annotation.ExcelField;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 用户Entity
 * @author ThinkGem
 * @version 2013-12-05
 */
public class User extends DataEntity<User> {

	private static final long serialVersionUID = 1L;
//	private String loginName;// 登录名
	private String ip1;
	private String address;
	private String time;
	private String info;

	@ExcelField(title="IP地址",  align=2, sort=1110)
	public String getIp1() {
		return ip1;
	}

	public void setIp1(String ip1) {
		this.ip1 = ip1;
	}

	@ExcelField(title="所处区域",  align=2, sort=1130)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	@ExcelField(title="访问时间",  align=2, sort=1140)
	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	@ExcelField(title="备注",align=2, sort=1150)
	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public User() {
		super();
	}

//	@Length(min=1, max=100, message="登录名长度必须介于 1 和 100 之间")
//	@ExcelField(title="登录名", align=2, sort=30)
//	public String getLoginName() {
//		return loginName;
//	}
//
//	public void setLoginName(String loginName) {
//		this.loginName = loginName;
//	}




}